package com.wzh.ojbackendjudgeservice.strategy;


import com.wzh.ojModel.model.entity.JudgeContext;
import com.wzh.ojModel.model.entity.JudgeInfo;

/**
 * @author wzh
 * 判题策略
 */
public interface JudgeStrategy {


    /**
     * 判题
     * @param judgeContext 判题上下文
     * @return  JudgeInfo
     */
    JudgeInfo doJudge(JudgeContext judgeContext);

    /**
     * 获取策略的类型
     * @return
     */
    public String getType();

}
